package lesson6;

public class task2 {

		public static void main(String[] args) {
			
			String name = "Krasimir Plamenov Stoev";
			
			String initials = "";
			
			for(int i = 0; i < name.length(); i++)
			{
				if(Character.isUpperCase(name.charAt(i)))
					initials = initials.concat(String.valueOf(name.charAt(i))).concat(".");
			}
			System.out.println(initials);
		}
}
